<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.yunzhong.com/tag/page" prefix="yzpage" %>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<%-- 基本bootstrap --%> 
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/css/bootstrap.min.css"/>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/jquery-2.2.4.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/jquery.tips.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/bootstrap.min.js" ></script>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/js/remodal/remodal.css"/>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/js/remodal/remodal-default-theme.css"/>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/remodal/remodal.min.js" ></script>
	<%-- 日历 --%>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/css/bootstrap-datetimepicker.min.css"/>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/bootstrap-datetimepicker.min.js" ></script>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/bootstrap-datetimepicker.zh-CN.js" ></script>
	<%-- 预览 --%>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/preview/preview.js" ></script>
	<%--bootbox --%>
	<script src="<%=request.getContextPath() %>/static/js/bootbox.js"></script>
	<%--jedate --%>
	<script src="<%=request.getContextPath() %>/static/js/jedate/jquery.jedate.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/js/jedate/skin/jedate.css"/>
	<%--qrcode --%>
	<script src="<%=request.getContextPath() %>/static/js/qrcode.js"></script>
	<%--echars --%>
	<script src="<%=request.getContextPath() %>/static/js/echars/echarts.min.js"></script>
	<script src="<%=request.getContextPath() %>/static/js/echars/china.js"></script>
	<%--ueditor --%>
	<%--<script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/static/js/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/static/js/ueditor/ueditor.all.min.js"> </script>
	--%><!-- swiper -->
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/static/css/swiper-3.4.2.min.css"/>
	<script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/static/js/swiper/swiper-3.4.2.jquery.min.js"></script>
	<!-- swf -->
	<script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/plugins/photoEditor/scripts/swfobject.js"></script>
	<script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/plugins/photoEditor/scripts/fullAvatarEditor.js"></script>
	<!-- jquery-ui -->
	<link rel="stylesheet" href="<%=request.getContextPath() %>/static/js/jquery-ui-1.12.1/jquery-ui.min.css" type="text/css"></link>
	<script type="text/javascript" src="<%=request.getContextPath() %>/static/js/jquery-ui-1.12.1/jquery-ui.min.js"></script>
	<link rel="stylesheet" href="<%=request.getContextPath() %>/static/js/jquery-ui-1.12.1/jquery-ui.theme.min.css" type="text/css"></link>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/js/jquery-table2excel-master/src/jquery.table2excel.js"></script>
</head>

<script type="text/javascript">
	//菜单跳转
	function showMenu(menuId){
		location.href = "<%=request.getContextPath()%>/sys/showMenu?id="+menuId;
	}
	//返回
	function goBack(){
		window.history.go(-1);
	}
	
	//搜索框
	function searchType(type){
		$("#index_search_btn").html(type+" <span class=\"caret\"></span>");
	}
	
	//搜索框条件查询
	function searchDoc(span){
		var type = $("#index_search_btn").html();
		var info = $(span).prev().val();
		if (type.indexOf("科室")>-1) {
			location.href = "appointment/listDocByDpNameOrIllName?type=like&dpName="+info;
		} else{
			location.href = "appointment/listDocByDpNameOrIllName?type=like&illName="+info;
		}
	}
</script>